Full Hash Table Search using Primitive Roots of the Prime Residue Group Z/p
نویسنده
چکیده
After a brief introduction to hash-coding (scatter storage) and discussion of methods described in the literature, it is shown that for hash tables of length p >2, prime, the primitive roots r of the cyclic group Z/p of prime residues mod p can be used for a simple collision strategy q(p,i) = r mod p for fi(k) = f0(k) +q(p,i) mod p. It is similar to the strategy which uses quadratic residues q(p,i) = i mod p in avoiding secondary clustering, but reaches all table positions for probing. A table of n primes for typical table lengths and their primitive roots is added. In cases where r = 2 is such a primitive root, the collision strategy can be implemented simply by repeated shifts to the left (by j places in all). To make the paper self-contained and easy to read, the relevant definitions and the theorems used from the Theory of Numbers are included in the paper.
منابع مشابه
Special Cases of the Class Number Formula
Proof. Using that (Z/p)× is a cyclic group of order p − 1 (i.e. the existence of primitive roots), we see that there is a square root of −1 (that is, a non-trivial fourth root of 1) in (Z/p)× if and only if p ≡ 1 mod 4. Suppose now that p ≡ −1 mod 4, and suppose that α and β are two elements of Z[i] such that p|αβ. Then p = N(p)|N(α)N(β), and so (after relabelling if necessary) we may assume th...
متن کاملA Novel Method of Searching Primitive Roots Modulo Fermat Prime Numbers
Primitive root is a fundamental concept in modern cryptography as well as in modern number theory. Fermat prime numbers have practical uses in several branches of number theory. As of today, there is no simple general way to compute the primitive roots of a given prime, though there exists methods to find a primitive root that are faster than simply trying every possible number. We prove the eq...
متن کاملPrimitive roots in algebraic number fields
We consider an analogue of Artin’s primitive root conjecture for units in real quadratic fields. Given such a nontrivial unit, for a rational prime p which is inert in the field. The maximal order of this unit modulo p is p+ 1. An extension of Artin’s conjecture is that there are infinitely many such inert primes for which this order is maximal. This is known at present only under the Generaliz...
متن کاملGross-zagier on Singular Moduli: the Analytic Proof
The famous results of Gross and Zagier compare the heights of Heegner points on modular curves with special values of the derivatives of related L-functions. When specialized to the level 1 case (i.e., the full modular curve H/Γ, where Γ = SL2(Z)), we recover an astounding formula for the differences of singular moduli (the Heegner points on the full modular curve) in terms of an explicit prime...
متن کاملComments on Search Procedures for Primitive Roots 1721
Let p be an odd prime. Assuming the Extended Riemann Hypothesis , we show how to construct O((log p) 4 (loglogp) ?3) residues modulo p, one of which must be a primitive root, in deterministic polynomial time. Granting some well-known character sum bounds, the proof is elementary, leading to an explicit algorithm.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. UCS
دوره 10 شماره
صفحات -
تاریخ انتشار 2004